<template>
  <div id="manage-edit-content" v-loading="loading">
    <BlogTabs :list="list">
      <template v-slot:content>
        <blog @isLoading="isLoading" />
      </template>
    </BlogTabs>
  </div>
</template>

<script>
import blog from './content-blog-item.vue'
export default {
  components: {
    blog
  },
  data() {
    return {
      loading: false,
      list: [
        {
          name: 'content',
          id: 1,
          label: '文章'
        }
      ]
    }
  },
  methods: {
    isLoading(val) {
      this.loading = val
    }
  }
}
</script>

<style lang="scss"></style>
